package com.qilu.domain.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import net.minidev.json.annotate.JsonIgnore;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2023-05-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_user")
@ApiModel(value="SysUserEntity对象", description="")
public class SysUserEntity extends BaseEntity {

    private String username;

    @JsonIgnore
    private String password;

    @ApiModelProperty(value = "0 超管 1市 2区 3县 4乡")
    private Integer role;

    @ApiModelProperty(value = "0 正常 1 禁用")
    private Integer state;

    @ApiModelProperty(value = "0 正常 1删除")
    @TableLogic
    private Integer isDeleted;

    private Integer organId;

    private Integer doctorId;
}
